package cn.hdy.org.service;

import cn.hdy.base.service.IBaseService;
import cn.hdy.base.util.PageList;
import cn.hdy.org.domain.Department;
import cn.hdy.org.query.DepartmentQuery;

import java.util.List;

public interface IDepartmentService extends IBaseService<Department> {
    /**
     * 分页查询
     * @param query
     * @return
     */
    PageList<Department> queryPage(DepartmentQuery query);

    List<Department> deptTree(Long id);
}
